{include common/header}
{include common/left}
<div id="content">  
<form action="{url('userestate/statistics')}" method="get" class="form-horizontal">             
	网号<input type="text" name="username" value="{if $_GET['username']}{$_GET['username']}{else}请输入网号{/if}" onfocus="if(this.value=='请输入网号')this.value=''" />             
	月份<select name="month" class="span3">   
	<option value="" >请选择</option>  
	{for $i=1;$i<=12;$i++}                                 
	    <option value="{$i}" {if $_GET['month']==$i}selected{/if}>{$i}月</option>                  
	{/for}
    </select> 
    <input type="submit" name="search" class="btn btn-primary" value="搜索">
              
</form>
  <ul class="breadcrumb">
    <li><a href="__ROOT__"><i class="icon-home"></i>首页</a> <span class="divider">/</span></li>
    <li class="active">统计管理 <span class="divider">/</span></li>
    <li class="active">统计列表</li>
   </ul>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-box">
          <div class="widget-title"> 
            <h5><span class="icon"> <i class="icon-align-justify"></i> </span>{if $type==1}出租{else}出售{/if}房源列表</h5>
          </div>
          <div class="widget-content nopadding">
          
          
            <table class="table table-bordered table-striped table-hover">
					<thead>
						<tr>
						<th>网号</th>
						{for $i=1;$i<=$day_count;$i++}
							<th>{$i}</th>
						{/for}					
						</tr>
					</thead>
					<tbody>
					{loop $list $val}
						<tr>
							<td>{$val['netid']}</td>
							{for $i=1;$i<=$day_count;$i++}
							<td>{$val[$i]}</td>
							{/for}							
						</tr>
				    {/loop}
					</tbody>					
				</table>	
				
          </div>
        </div>
        
      </div>
    </div>
  </div>
</div>
{include common/footer}